-- GENERATED SPELL FOR [Wastewander Thief] --


function spell0_5616(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(6713,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5616', 5339, 1)
end

function Sorts_5616(pUnit, Event)
local choix_sorts_5616 = math.random(0, 0)
if choix_sorts_5616 == 0 then
pUnit:RegisterEvent('spell0_5616', 1, 1)
end
end

function mob5616_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5616', math.random(1500, 3000), 1)
end

function mob5616_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5616_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5616_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5616, 1, 'mob5616_Action')
RegisterUnitEvent(5616, 2, 'mob5616_Leave')
RegisterUnitEvent(5616, 3, 'mob5616_Kill')
RegisterUnitEvent(5616, 4, 'mob5616_Die')
